﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EntityFramework;

namespace ProjectQuaDep.Control
{
    public partial class HomeNewsLeft : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            rptList.DataSource = NewsBO.GetToNewsLastest(4);
            rptList.DataBind();
        }
    }
}